//
//  LKTestpageNameHeaderCell.m
//  YLHelper
//
//  Created by she1323 on 2018/5/9.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import "LKTestpageNameHeaderCell.h"

@interface LKTestpageNameHeaderCell()
@property (weak, nonatomic) IBOutlet UILabel *passLabel;

@property (weak, nonatomic) IBOutlet UILabel *scoreLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;

@end

@implementation LKTestpageNameHeaderCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setDetailModel:(LKTestDetailModel *)detailModel{
    _detailModel = detailModel;
    self.passLabel.text = [detailModel.examinationAppointUserInfo.isPass boolValue] == YES ?@"通过":@"未通过";
    self.scoreLabel.text = detailModel.examinationAppointUserInfo.score;
    self.timeLabel.text = detailModel.examinationAppointUserInfo.expendTimeText;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
